import { createRouter, createWebHistory } from 'vue-router'
import AutoRoutes from '~pages'

const routes = [
  {
    path: '/',
    redirect: 'Home'
  },
  ...AutoRoutes
]

const router = createRouter({
  history: createWebHistory(),
  routes,
})

export default router
